//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _Ligand_h__
#define	_Ligand_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "HetAtmRecord.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class Ligand {
  
  private:
    
    String*                 name;
    int                     number;
    
    TListE <HetAtmRecord>*  records;
    
    String*                 toString;
    
  protected:
    
    void                    CleanData (void);
    
  public:
    
    Ligand ();
    Ligand (const Ligand&);
    Ligand (const Ligand*);
    
    ~Ligand ();
    
    void                    Name (String*);
    void                    Number (int);
    void                    Records (TListE <HetAtmRecord>*);
    
    String*                 Name (void);
    int                     Number (void);
    TListE <HetAtmRecord>*  Records (void);
    
    bool                    ReadData (String*);
    bool                    ReadData (char*);
    
    String*                 ToString (void);
    
    Ligand                  operator= (const Ligand&);

};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//